package com.easyban.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Guestbook implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long id;
    private String content;
    private Long userId;
    private String userName;

    /*
     * 0未回复
     * 1已回复
     * */
    private Integer status;
    private String reply;
    private Long replyUserId;
    private LocalDateTime replyTime;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
